Using the FLEXlm License Editor

If you do not have an online copy of your license information, you must enter the license information from your new License Pack exactly as it is printed. If you obtain an online copy of your license codes, you can import your license information into the FLEXlm license editor. See the previous window for information on how to obtain an electronic copy of your PTC License Pack.


Required License Information

If you manually enter your license data into the FLEXlm license editor, you must replace two generic strings, _HOSTNAME_ and _PTCD_PATH_, including the underscore characters.

Replace the variable, _HOSTNAME_, with the hostname of your license server and enter your license server's CPU ID and communications port number.

License Pack string:

SERVER _HOSTNAME_ PTC_HOSTID=(Your CPUID) 7788

Your entry, for example:

SERVER dinos PTC_HOSTID=00-67-98-E5-92-B5 7788

Replace the variable, _PTCD_PATH_, with the full path (including file name) to the PTC daemon exectuable. The PTC daemon is a customized software program that either grants or denies floating PTC licenses by reading the license file.

License Pack string:

DAEMON ptc_d _PTCD_PATH_

Your entry, for example:

DAEMON ptc_d /opt/ptc/flexlm/sun4_solaris/obj/ptc_d

Note: Only one vendor daemon line is needed per license server machine.


Tips for Entering License Information into the FLEXlm License Editor

1. Lines in your License Pack that begin with "#" are not required. Commented text is informational.

2. If your License Pack contains license information for multiple license servers, only license information for the appropriate machine is needed.

3. You may select File > Save at any point to save your entries.

4. You may select ReCheck License(s) at any point to check the license information for errors. Upon completion, the status bar informs you if your entries are error-free.

From the File menu, you can select

Import—To specify the location of another license file.

Append—To append the license file stored within the PTC License Management directory with the license information you imported or entered.

Save—To store the information to disk within the License Management directory.

Save As—To create a backup copy of your license information file.

After importing or entering your license information, PTC.Setup saves this file within the PTC License Management directory.


If You Imported Your License Information

If all of your license information is valid, select Next to advance to the Optional Configuration Steps window.


If You Have an Invalid License(s)

You cannot proceed if you have an invalid license(s). Click Modify in the Checking FLEXlm License File dialog box and correct your license information. Edits are made in the FLEXlm license editor.

Here are some tips to help you resolve an invalid license(s):

  • Return to the FLEXlm license editor and verify that the information entered is exactly as it appears in your License Pack.
  • If no licenses are listed, return to the FLEXlm license editor and ensure that no text is highlighted.
  • If all licenses are listed as invalid, be certain the PTC Host_ID in the License Pack corresponds with what you see in the FLEXlm license editor window. For example, one server line and one daemon line represent a single server. Three server lines and one daemon line represent a fault-tolerant or Triad configuration. Remove all the lines that do not pertain to the PTC HOST_ID.
  • Your increment lines should have no blank lines. Be certain all continuation characters "\" are at the end of each line, except for the last line.
  • If some licenses are valid while others are invalid, find the invalid feature name lines in the FlEXlm license editor window and correct the text.
  • If you received your license codes via e-mail, remove any extraneous text such as the header and footer.
  • Return to the FLEXlm license editor window and delete the invalid license information.